﻿// Decompiled with JetBrains decompiler
// Type: WMCommLib.IWMCommConnect
// Assembly: DnProcessSimulateCommands, Version=2402.0.0.890, Culture=neutral, PublicKeyToken=null
// MVID: A885D881-AEDF-447E-852A-6F13102E089C
// Assembly location: C:\Program Files\Tecnomatix_2402\eMPower\DotNetCommands\DnProcessSimulateCommands.dll

using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;


namespace WMCommLib;

[CompilerGenerated]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("4A9036C9-C911-41B8-8158-27B399F8F5E2")]
[TypeIdentifier]
[ComImport]
public interface IWMCommConnect
{
  [SpecialName]
  [MethodImpl(MethodCodeType = MethodCodeType.Runtime)]
  sealed extern void _VtblGap1_1();

  [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
  void Connect(
    [In] ref byte pLicKey,
    [In] uint nKeySize,
    [MarshalAs(UnmanagedType.LPWStr), In] string pszHostName,
    [In] ushort nPortNr,
    [In] uint dwTimeout);

  [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
  void Disconnect();

  [SpecialName]
  [MethodImpl(MethodCodeType = MethodCodeType.Runtime)]
  sealed extern void _VtblGap2_2();

  [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
  [return: MarshalAs(UnmanagedType.Interface)]
  IWMCommRecv CreateRecvBuffer();

  [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
  [return: MarshalAs(UnmanagedType.Interface)]
  IWMCommSend CreateSendBuffer();
}
